<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <base href="<%=basePath%>">
    
    <title>${ webpageTitle }</title>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
	
	<script src="rp/scripts/boot.js" type="text/javascript"></script>
	
	<style type="text/css">
	   	.mini-outlooktree .mini-outlookbar-border {
	   		border:0px;
	   	}
	   	
	   	.mini-outlooktree .mini-outlookbar-group .mini-outlookbar-groupHeader {
	   		height: 30px;
	   	}
	   	.mini-outlooktree .mini-outlookbar-group .mini-outlookbar-groupHeader .mini-tools {
	   		display: none;
	   	}
	   	.mini-outlooktree .mini-outlookbar-group .mini-outlookbar-groupHeader .mini-outlookbar-groupTitle {
	   		line-height: 30px;
	   		font-weight: normal;	
	   	}
	   	.mini-outlookbar-lastGroup {
	   		border-bottom: 1px solid #999;
	   	}
	   	.mini-outlookbar-expand > .mini-outlookbar-groupHeader {
	   		border-top: 1px solid #000;
	   		border-bottom: 1px solid #000;
	   		background: #0072BC;
	   		color: #FFF;
	   		/* box-shadow: 0 0 3px #000 inset; */
	   	}
	   	
    </style>
	
  </head>
  
  <body class="body-fit">
  	
  	<div id="" class="mini-outlooktree" 
		url="rp/system/baseData/menuMng/showMenuItems2?menuName=${ menuName }" activeIndex="0"
		style="width:100%; height:100%;" autoCollapse="true"
		idField="id" parentField="pid" textField="text"
		onnodeclick="menuItemClick">
	
	<script type="text/javascript">
		
		$(function(){
			
		});
		
		//项点击事件
		function menuItemClick(e){
			var item = e.node;
			window.parent.addMainTab(item.text, item.url, item.verifyClose);
		}
	</script>
  </body>
</html>
